package com.its.member.feign;

import com.its.domain.BaseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("gym-sms")
public interface SmsFeign {
    //发送短信验证码
    @GetMapping("/sms/sendSmsCode")
    public BaseResult sendSmsCode(@RequestParam("memberPhone") String memberPhone, @RequestParam("code") String code);
}
